package cn.silver.module.system.param;

import cn.silver.framework.mybatis.annotation.TableField;
import cn.silver.framework.mybatis.enums.SearchEnums;
import cn.silver.framework.mybatis.param.TreeParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 部门业务对象 sys_dept
 *
 * @author Silver Zhou
 */

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(name = "DeptParam",title = "组织信息查询条件")
public class DeptParam extends TreeParam implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(title = "组织类型")
    @TableField(name = "type", searchType = SearchEnums.EQ)
    private String type;
}
